home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Utilities To…ka 501 Killer Utilities!
/
501 Killer Utilities! (Macworld July 1995).cdr
/
Programming
/
RLaB
/
help
/
sign
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-07-13
|
303 b
|
21 lines
|
[
TEXT/RLAB
]
sign:
Synopsis: Sign function.
Syntax: sign ( A )
Description:
For real scalar argument, sign returns:
1 if A > 0
0 if A == 0
-1 if A < 0
For a complex scalar sign returns:
A ./ abs (A)
sign performs its operation on real and complex matrices in an
element by element fashion.